Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme font options to editor settings & "InspectorTypeButtonProfile" profile #1324

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

Eikelenboom
Copy link
Contributor

@Eikelenboom Eikelenboom commented Sep 25, 2024

The text in the editor is displayed in the Arial font by default. This commit will add 2 x 2 extra options so it may be changed to the user preferences.

The theme is at its best with the Open Sans font so that text fields aren't cut off, because the width of the Arial characters is generally large. However, Arial remains to be default, also the fallback.

Console/engine function is added to be able to read environment variables in script; In this case to be able to find the fonts installation path.


In InspectorTypes.cpp there are referrals to a non-existing profile. That's why are the buttons in the inspector really hard to read and can't be changed in the prefs/settings.

Adding another profile "InspectorTypeButtonProfile" based on the default "ToolsGuiButtonProfile"

In InspectorTypes.cpp there are referrals to a non-existing profile. That's why are the buttons in the inspector really hard to read and can't be changed in the prefs/settings.

Adding another profile "InspectorTypeButtonProfile" based on the default "ToolsGuiButtonProfile"
The text in the editor is displayed in the Arial font by default. This commit will add 2 x 2 extra options so it may be changed to the user preferences.

The theme is at its best with the Open Sans font so that text fields aren't cut off, because the width of the Arial characters is generally large. However, Arial remains to be default, also the fallback.

Console/engine function is added to be able to read environment variables in script; In this case to be able to find the fonts installation path.
@Eikelenboom Eikelenboom changed the title Add GUI profile "InspectorTypeButtonProfile" Add theme font options to editor settings & "InspectorTypeButtonProfile" profile Sep 27, 2024
@Eikelenboom
Copy link
Contributor Author

Note: These commits will update the GUI profiles with a check if the objects exist or not; at times the console got spammed with warnings (for example updating the theme in preferences).

I'm finished with this pull request. Cheers, Nils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant